
#include "member_BShape.h"

using namespace BWE;

member_BShape::member_BShape(BShape* shape)
{
	boss = shape;
	group = 0;
	dirty = true;
	visible = true;
	collible = true;
	transparent = false;
	color.set(255, 255, 255, 255);

	lighting = true;
	depthTest = true;
	cullback = true;
	pointSmooth = false;
	pointSize = 1;
	lineSmooth = false;
	lineWidth = 1;
	polygonSmooth = false;
	polyMode = Poly_Fill;
}
member_BShape::~member_BShape()
{

}

void member_BShape::slotMaterialChanged(BObject* object)
{
	boss->emit(Signal_Fresh);
}
void member_BShape::slotTextureDirty(BObject* object)
{
	boss->emit(Signal_Fresh);
}
void member_BShape::slotProgramDirty(BObject* object)
{
	boss->emit(Signal_Fresh);
}

void member_BShape::render(BRender& render)
{
	boss->render(render);
}
